// 响应接口
export interface DeleteByRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: any;
}

// 参数接口
export interface QueryParams {
    /* */
    pageNum?: number;

    /* */
    pageSize?: number;
}

// 响应接口
export interface QueryRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: {
        /* */
        id: number;

        /* */
        date: Record<string, unknown>;

        /* */
        code: string;

        /* */
        type: string;

        /* */
        start: string;

        /* */
        startPinyin: string;

        /* */
        startTime: "";

        /* */
        end: string;

        /* */
        endPinyin: string;

        /* */
        endTime: "";

        /* */
        createTime: "";

        /* */
        updateTime: "";
    }[];

    /* */
    total: number;
}

// 参数接口
export interface SaveParams {
    /* */
    id?: number;

    /* */
    date: Record<string, unknown>;

    /* */
    code: string;

    /* */
    type: string;

    /* */
    start: string;

    /* */
    startPinyin: string;

    /* */
    startTime: Record<string, unknown>;

    /* */
    end: string;

    /* */
    endPinyin: string;

    /* */
    endTime: Record<string, unknown>;

    /* */
    createTime?: Record<string, unknown>;

    /* */
    updateTime?: Record<string, unknown>;
}

// 响应接口
export interface SaveRes {
    /* */
    success: boolean;

    /* */
    message: string;

    /* */
    data: Record<string, unknown>;
}
